			<h2>自定义搜索</h2>
			<p><a href="problem_search.php">查看所有题目</a></p>
			<form action="problem_search.php">
				<p><label for="type">类型</label><select name="type" id="type">
					<option value="">不限</option><?php echo "\n";
				include 'var_type.php';
				for($i = 1; $i <= $problem_type_amount; $i++)
					echo "\t\t\t\t\t\t<option value=\"$i\">{$problem_type[$i]}</option>\n";
				?>
				</select>
				<label for="difficulty">难度</label><select name="difficulty" id="difficulty">
					<option value="">不限</option><?php echo "\n";
				for($i = 0; $i <= 5; $i++)
					echo "\t\t\t\t\t\t<option value=\"$i\">$i</option>\n";
				?>
				</select>
				<button type="submit">搜索</button></p>
			</form>
